/**
 * Copyright (c) 2018-2028, HQY 胡庆一 (215218393@qq.com).
 * <p>
 * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE 3.0;
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.gnu.org/licenses/lgpl.html
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.ocm.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ocm.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 实体类
 *
 * @author HQY
 * @since 2021-11-17
 */
@Data
@TableName("ocm_shop")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Shop对象", description = "Shop对象")
public class Shop extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ApiModelProperty(value = "id")
	@TableId(value = "id", type = IdType.ASSIGN_ID)
	@JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 店铺头像
     */
    @ApiModelProperty(value = "店铺头像")
    private String shopAvatar;
    /**
     * 店铺名
     */
    @ApiModelProperty(value = "店铺名")
    private String shopName;
    /**
     * 店铺描述
     */
    @ApiModelProperty(value = "店铺描述")
    private String shopDescribe;
    /**
     * 店铺类型
     */
    @ApiModelProperty(value = "店铺类型")
    private Integer shopType;
    /**
     * 经营范围
     */
    @ApiModelProperty(value = "经营范围")
    private String shopScope;

	@ApiModelProperty(value = "默认地址")
	private String shopAddress;
    /**
     * 品牌
     */
    @ApiModelProperty(value = "品牌")
    private String shopBrand;


}
